package app.srong.vo;

import java.time.LocalDateTime;

public class WordExplains {

    //int
    private Integer id;
    //单词主键
    private Integer wordId;
    //词性
    private String wordType;
    //单词释义
    private String explains;
    //datetime
    private LocalDateTime createTime;
    //解释来源
    private Integer source;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getWordId() {
        return wordId;
    }

    public void setWordId(Integer wordId) {
        this.wordId = wordId;
    }

    public String getWordType() {
        return wordType;
    }

    public void setWordType(String wordType) {
        this.wordType = wordType;
    }

    public String getExplains() {
        return explains;
    }

    public void setExplains(String explains) {
        this.explains = explains;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    @Override
    public String toString() {
        return "WordExplains{" +
                "id=" + id +
                ", wordId=" + wordId +
                ", wordType='" + wordType + '\'' +
                ", explains='" + explains + '\'' +
                ", createTime=" + createTime +
                ", source=" + source +
                '}';
    }
}
